package com.exp.day6;

public class Employee {

	int id;
	String name;
	String address;
	char gender;
	double salary;

Employee() {
			id=0;
			name="null";
			address="null";
			gender='\0';
			salary=0.0;
			}
Employee(int id,String name,String address,char gender,double salary) {
			this.id=id;
			this.name=name;
			this.address=address;
			this.gender=gender;
			this.salary=salary;
		}
 void print() {
			System.out.print(id);
			System.out.print("/t");
			System.out.print(name);
			System.out.print("/t");
			System.out.print(address);
			System.out.print("/t");
			System.out.print(gender);
			System.out.print("/t");
			System.out.print(salary);
			System.out.println();
		 }
}
